﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetHot.aspx.cs" Inherits="Things.Web.Bar.SetHot" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <a href="./NoticeList.aspx">返回信息列表</a>
        <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" CellPadding="3"
            BorderWidth="1px" DataKeyNames="Id" DataMember="Id"
            AutoGenerateColumns="false" PageSize="10"
            RowStyle-HorizontalAlign="Center" EmptyDataText="没有数据">
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="GoodsID" SortExpression="GoodsId"
                    ItemStyle-HorizontalAlign="Center" Visible="false" />
                <asp:BoundField DataField="Title" HeaderText="标题"
                    ItemStyle-HorizontalAlign="Center" Visible="true" />
                <asp:BoundField DataField="OrderIndex" HeaderText="顺序"
                    ItemStyle-HorizontalAlign="Center" Visible="true" />
                
                <asp:HyperLinkField HeaderText="设置" ControlStyle-Width="50" DataNavigateUrlFields="Id" DataNavigateUrlFormatString="./SetHot.aspx?act=up&id={0}"
                    Text="上"  />
                <asp:HyperLinkField HeaderText="设置" ControlStyle-Width="50" DataNavigateUrlFields="Id" DataNavigateUrlFormatString="./SetHot.aspx?act=down&id={0}"
                    Text="下"  />
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
